package com.sifour.entity;

import com.sifour.behavior.FreeFly;
import com.sifour.behavior.UnableSwim;

public class Eagle extends Bird {

    public Eagle() {
        flyBehavior = new FreeFly();
        swimBehavior = new UnableSwim();
    }

    @Override
    public void display() {
        super.display();
        System.out.println("我是一直老鹰老鹰");
    }
}
